package com.wali.modules.bil.service;

import com.wali.modules.bil.bo.BilLogisticsBO;
import com.wali.modules.bil.dao.IBilLogisticsDao;
import com.wali.modules.bil.vo.BilLogisticsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author walixu
 * @ClassName com.wali.modules.bil.service
 * @Description 运单物流信息service类
 * @email wali.xu@kpmg.com
 * @date 22/02/2019 3:45 下午
 */
@Service
public class BilLogisticsService {

    @Autowired
    private IBilLogisticsDao iBilLogisticsDao;

    /**
     * @param
     * @return
     * @throws
     * @Title listBilLogistics
     * @Description 查询符合条件的运单信息
     */
    public List<BilLogisticsVO> listBilLogistics(BilLogisticsBO bilLogisticsBO) {
        BilLogisticsVO bilLogistics = BilLogisticsBO.convert(bilLogisticsBO);
        return iBilLogisticsDao.listBilLogistics(bilLogistics);
    }

}
